/**
 *
 * @author DnD Binary Source
 */
package Entities;

import binarysource.AddHomebrew;
import binarysource.CharacterBuilder;
import binarysource.EditHomebrew;
//import binarysource.EditRules;

public class Handler {
    private static BookList bookList;
    private static CharacterList characterList;
    private static ClassList classList;
    private static FeatList featList;
    private static PowerList powerList;
    private static RaceList raceList;
    private static RitualList ritualList;
    private static RoleList roleList;
    private static SkillList skillList;
    private static SourceList sourceList;   
    private static AddHomebrew addHomebrew = AddHomebrew.getInstance();
    public static Handler handler;
    
    private Handler(){
    
    }
    
    public static Handler getInstance(){
        if(handler == null){
            handler = new Handler();
        }
        return handler;
    }
    
    public static BookList getBookList(){
        if(bookList == null){
            bookList = BookList.getInstance();
        }
        return bookList;
    }
    
    public static void addBook(String name, String abbreviation){
        Book book = new Book(name, abbreviation);
        bookList.add(book);
    }
    
    public static void updateBook(){
        addHomebrew.setBookList();
    }
    
    public static void updateBookList(){
        addHomebrew.setBookList();
    }
    
    public void updateCharacter(){
        
    }
    
    public void updateCharacterList(){
        
    }
    
    public void updateClass(){
        
    }
    
    public void updateClassList(){
        
    }
    
    public void updateFeat(){
        
    }
    
    public void updateFeatList(){
        
    }
    
    public void updatePower(){
        
    }
    
    public void updatePowerList(){
        
    }
    
    public void updateRace(){
        
    }
    
    public void updateRaceList(){
        
    }
    
    public void updateRitual(){
        
    }
    
    public void updateRitualList(){
        
    }
    
    public void updateRole(){
        
    }
    
    public void updateRoleList(){
        
    }
    
    public void updateRules(){
        
    }
    
    public void updateRulesList(){
        
    }
    
    public void updateSkill(){
        
    }
    
    public void updateSkillList(){
        
    }
    
    public static void updateSource(){
        
    }
    
    public static void updateSourceList(){
        
    }
}
